@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,200;0,400;0,600;0,700;0,800;1,200;1,400&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+Display:ital,wght@0,100..900;1,100..900&display=swap');

*{
    margin: 0;
    padding: 0;
    border: 0;
    box-sizing: border-box;
    
}


h1{
    font-family: "Noto Sans Display", sans-serif;
    font-optical-sizing: auto;
    font-weight: 700;
    font-style: normal;
    font-variation-settings:"wdth" 100;
}
h4 {
    margin: 1em 0 .5em 0;
}
ul {
    list-style: none;
}
a {
    color: black;
    text-decoration: none;
}
p{
    padding-top: .5em;
    padding-bottom: .5em;
    hyphens: auto;
    text-wrap: pretty;
    line-height:1.5em;
}
img {
    height: auto;
    width: 100%;
}
 
body {
    font-family: "Poppins", serif;

    background-image: radial-gradient( #d7536b70 .5px, transparent 1px), radial-gradient(#d7536b70 .5px, transparent 1px);
    background-size: 30px 30px;
    background-position: 0 0, 15px 15px;
    
}


/*HEADER*/
header{
    background-color: #f3788e;
    margin-inline: auto;
    padding: 1em;

    align-items: center;
    justify-content: space-between;


    display: grid;
    grid-template-columns: 1fr 3fr 1fr;
    width: 100%;
    justify-items: center;
    align-items: center;
}


header a h2{
    color: #ffffff;
    text-transform: uppercase;
    font-size: 1.8rem;
    
    text-align: center;
}
.icono{
    width: 3.5em;
}

/*MENU HAMBURGUESA*/
@media (max-width:700px){
    .abrirmenu,
.cerrarmenu{
    display: block;
}
.nav{
    opacity: 0;
    visibility: hidden;


    display: flex;
    flex-direction: column;
    align-items: end;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    background-color:#d7536c;
    padding: 2em;
    box-shadow: 0 0 0 100vmax rgb(0, 0 , 0, .5);

    z-index: 20
}
.nav.visible{
    opacity: 1;
    visibility: visible;
}

.nav-list{
    display: flex;
    gap: 3rem;
    flex-direction: column;
    align-items: end;
    padding-top: 4em;
}
.nav-list li a {
    color: #fff;
    font-size: 1.2rem;
}
#abrir{
    background-color: #f3788e;

}
#cerrar{
    background-color: #d7536c;
}
    
}


/*MAIN*/
section {
    margin-left: 1em;
    margin-right: 1em;
    margin-top: 2rem;
}

#fotomain {
    background: #ffffff url(MicaelaGarcia.png) no-repeat center center;
    background-size: cover;
    width: auto;
    height: 15em;
    justify-content: center;

    -webkit-filter: blur(2px);
}

#textomain{
    box-shadow: rgba(0, 0, 0, 0.492);
    background-color:rgba(0, 0, 0, 0.292);
    color: white;
    border: .3em solid #fff;
    position: absolute;
    top: 20%;
    left: 10%;
    align-self: center;
    z-index: 2;
    width: 80%;
    padding: 1em;
    text-align: center;

    font-family: "Noto Sans Display", "Poppins", serif;
  font-optical-sizing: auto;
  font-style: normal;
  font-variation-settings:
    "wdth" 100


}




.titulogeneral{
    display: block;
    text-transform: uppercase;
    position: relative;
    padding-top: 1em;
    padding-bottom: .6rem;
    font-size: 1rem;
    margin-bottom: .5em;
    margin-top: 1em;
    color: #d7536c;
}
.titulogeneral::before{
    content: "";
    position: absolute;
    left: 0;
    right: 0; /* Extiende la línea hasta el margen */
    bottom: 0; /* Alinea justo debajo de la primera línea */
    height: 0.1em; /* Grosor de la línea */
    background-color: #d7536c; /* Color de la línea */
}
.titulogeneral::after{
    content: "";
    position: absolute;
    left: 0;
    right: 0; /* Extiende la línea hasta el margen */
    bottom: 0.3em; /* Posición desde la parte inferior del título */
    height: 0.1em; /* Grosor de la línea */ 
    background-color: #d7536c; /* Color de la línea */
}



section {
    display: flex;
    flex-direction: column;
    margin: 0 1em;
}
.sabermas {
    align-self: flex-end;
    width: 8em;
    color: #ffffff;
    display: block;
    background-color: #8cc084;
    border-radius: .8em;
    padding: .5em;
    font-weight: 700;
    text-transform: uppercase;
    text-align: center;
}
.sabermas:hover{
    color: #000000;
    background-color: #ffcab1;
    border-radius: .5em;
    padding: .5em;
    font-weight: 700;
    text-transform: uppercase;
    cursor: pointer;
}


.añoaño{
    display: flex;
    gap: 1em;
    align-items: center;
    padding-top: 1em;
    padding-bottom: 1em;
}


.año1{
    align-content: center;
    text-align: center;
    width: 30%;
    color: #000000;
    background-color: #ffcab1;
    border-radius: 50%;
    font-weight: 600;
    aspect-ratio: 1;
    font-size: 1.8em;
}
.año2{
    align-content: center;
    text-align: center;
    width: 30%;
    color: #000000;
    background-color: #c1d7ae;
    border-radius: 50%;
    font-weight: 600;
    aspect-ratio: 1;
    font-size: 1.8em;
}




.añoaño  h5, .añoaño h4{
    width: 40%;
    text-transform: uppercase;
    font-size: 1.2em;
}
.flecha {
    width: 10%;
    height: auto;
}



.secciones{
    display: grid;
    gap: 2rem;
    padding-inline-start: 0%;
    margin-top: 1rem;
}

.titulogeneral2{
    display: block;
    text-transform: uppercase;
    position: relative;
    padding-top: 1em;
    padding-bottom: .6rem;
    font-size: 1rem;
    margin-bottom: 1em;
    margin-top: 2em;
    color: #8cc084;
}
.titulogeneral2::before{
    content: "";
    position: absolute;
    left: 0;
    right: 0; /* Extiende la línea hasta el margen */
    bottom: 0; /* Alinea justo debajo de la primera línea */
    height: 0.1em; /* Grosor de la línea */
    background-color: #8cc084; /* Color de la línea */
}
.titulogeneral2::after{
    content: "";
    position: absolute;
    left: 0;
    right: 0; /* Extiende la línea hasta el margen */
    bottom: 0.3em; /* Posición desde la parte inferior del título */
    height: 0.1em; /* Grosor de la línea */
    background-color: #8cc084; /* Color de la línea */
}



.noticias{
    background-color: #e9fbd9;
    color: #000000;
    border-radius: 1rem;
    border: 2px solid #8cc084;
    box-shadow: 0rem 0rem 5px 0px #8cc084;
}

.noticias figcaption{
    display: flex;
    padding-inline: 1rem;
    margin-block: 1rem;
    flex-direction: column;
}
figure img{
    border-radius: 1rem;
}


.copete{
    padding-bottom: 1em;
    text-transform: uppercase;
    font-size: .7em;
    color: #d7536c
}
.minititulos{
    text-transform: uppercase;
    font-size: 1.2em;

}
.vermas {
    margin-top: 1.2rem;
    align-self: flex-end;
    color: #ffffff;
    display: block;
    background-color: #8cc084;
    border-radius: .8em;
    padding: .5em;
    text-transform: uppercase;
    text-align: center;
}
/*BOTON 144*/
#linea144 {
    position: fixed;
    overflow: hidden;
    background-color: #333;
    z-index: 10;
    bottom: 5%;
  }
  .linea{
    display: flex;
    gap: .5em;
    align-items: center;
    padding:.7em;
  }

  #linea144 a p {
    color: #f2f2f2;
    text-align: center;
    font-size:.8em;
    font-weight: 200;
    
  }
  .pequeñosiconos{
    height: 1em;
    width: 1em;
  }

/*VER MÁS PODCAST SLIDES*/

  .mySlides div{
    display: flex;
    flex-direction: column;
    background-color: #222222;
    border-radius: 5%; 
    height: 95%;
  }
  .mySlides div div {
    padding: 1em;
    height: 70%;
    display: flex;
    flex-direction: row;
    gap: 1em;
    align-items: center;
  }
  .mySlides div div img{
    height: 90%;
    width: auto;
  }
  .mySlides div p{
    height: 10%;
    color: #fff;
  }
  .mySlides div a {
    display: flex;
    justify-content: center;
    background-color: #8cc084;
    border-radius: 5%;
    margin: 1em;
  }


/* HTML LEY MICAELA */
#fotomain2 {
    background: #ffffff url("juzgado.png") no-repeat center center; 
    background-size: cover;
    width: auto;
    height: 15em;
    justify-content: center;

    -webkit-filter: blur(2px);
}

.destacado {
    color: #8cc084;
    font-size: 1.2em;
    font-style: italic;
    hyphens: auto;
    
}

.home{
    
    display: flex;
    justify-content: center;
    
    margin-top: 2rem;
}
.botonpdf{
    align-self: flex-end;
    border: 2px solid #8cc084;
  background-color: white;
  color: #8cc084;
  margin-top: 2rem;
  margin-bottom: 1rem;
  padding: .5em 1em;
  border-radius: .8em;
}
.botonpdf #pdfhover2{
    display: none;
}

.botonpdf:hover{
    display: flex;
    gap: .2em;
    cursor: pointer;
    align-self: flex-end;
    border: 2px solid #8cc084;
  background-color: #8cc084;
  color: #ffffff;
  margin-top: 2rem;
  margin-bottom: 1rem;
  padding: .5em 1em;
  border-radius: .8em;
}
.botonpdf:hover #pdfhover{
    display: none;
}
.botonpdf:hover #pdfhover2{
    display: flex;
}

.botonpdf2{
    align-self: flex-end;
    border: 2px solid #d7536c;
  background-color: white;
  color: #d7536c;
  margin-top: 2rem;
  padding: .5em 1em;
  border-radius: .8em;
}
.botonpdf2:hover{
    cursor: pointer;
    align-self: flex-end;
    border: 2px solid #d7536c;
  background-color: #d7536c;
  color: #ffffff;
  margin-top: 2rem;
  padding: .5em 1em;
  border-radius: .8em;
}

.piedefoto{   
    font-size:.8em;
    font-weight: 200;
    Font-style: italic ;
}


/* HTML NOTICIAS */
#fotomain12 {
    background: #ffffff url("noticias.jpg") no-repeat center center; 
    background-size: cover;
    width: auto;
    height: 15em;
    justify-content: center;

    -webkit-filter: blur(2px);
}

.conteducativo3 {
    display: flex;
    flex-direction: column;
    background-color: #ffffff;
    color: #000;
    padding-inline: 1em;
    padding-top: 1.7em;
    padding-bottom: 1.5em;
    border: 2px solid #d7536c;
    margin-top: -0.9em;
    box-shadow: 0rem 0rem 5px 0px #5453532d;
  }


  .autor2{
    color: #000000;
    font-weight: 100;
    font-style: italic;

}
.articulosvideos2{
    margin-top: 2rem;
    display: grid;
    gap: 2rem; 
}





/*HTML MICAELA*/
em, #negrita{
    Font-style: normal ;
    text-transform: none;
    color: #000000;
    font-weight: 700;
}

em, #italica{
    Font-style: italic ;
    text-transform: none;
    color: #000000;
    font-weight: 400;
}

/*HTML EDUCATIVO*/
#fotomain6 {
    background: #ffffff url("materialeducativo.png") no-repeat center center; 
    background-size: cover;
    width: auto;
    height: 15em;
    justify-content: center;

    -webkit-filter: blur(2px);

 
}


  .conteducativo img{
    border-radius: 2em 2em 0 0;
    box-shadow: 0rem 0rem 5px 0px #5453532d;
    background-color: #f3788e;
    padding: 2.5em;
  }

  .conteducativo .textoconteducativo {
    background-color: #ffffff;
    color: #000;
    padding-inline: 1em;
    padding-top: 1.7em;
    padding-bottom: 1.2em;
    border: 2px solid #d7536c;
    margin-top: -0.9em;
    box-shadow: 0rem 0rem 5px 0px #5453532d;
  }

  .conteducativo .textoconteducativo p {
    color: #000;
    text-align: start;
    
  }

  .vercont {
    margin-top: 1.2rem;
    align-self: flex-end;
    color: #ffffff;
    display: block;
    background-color: #d7536c;
    border-radius: .8em;
    padding: .5em;
    text-transform: uppercase;
    text-align: center;
}
/*GTML VIDEOS*/
#fotomain10 {
    background: #ffffff url(videos.png) no-repeat center center;
    background-size: cover;
    width: auto;
    height: 15em;
    

    -webkit-filter: blur(2px);
}

#hicieron2{
    margin:2em 0;
}




.articulosvideos{
    margin-top: 2rem;
    display: grid;
    gap: 2rem; 
}

.conteducativo2 {
    display: flex;
    flex-direction: column;
    background-color: #ffffff;
    padding-top: 1em;
    border: 2px solid #8cc084;
    margin-top: -0.9em;
    box-shadow: 0rem 0rem 5px 0px #5453532d;
}
.conteducativo2 div{
    padding-inline: 1em;
    padding-bottom: 1em;
    padding-top: 1em;
}


.autor{
    color: #da2a4a;
    font-weight: 400;
    font-style: italic;

}



/*HTML PODCAST*/
#fotomain3 {
    background: #ffffff url("podcast.png") no-repeat center center; 
    background-size: cover;
    width: auto;
    height: 15em;
    justify-content: center;

    -webkit-filter: blur(2px);
}

Em {
    Font-style: italic;
    text-transform: none;
    
    color: #da2a4a;
    font-weight: 400;
    }
    
/*HTML LECTURA*/
#fotomain7 {
    background: #ffffff url("libro.png") no-repeat center center; 
    background-size: cover;
    width: auto;
    height: 15em;
    justify-content: center;

    -webkit-filter: blur(2px);
}


.mySlides2 div{
    display: flex;
    flex-direction: row;
    background-color: #0000001a;
    border-radius: 5%;
  }
  .mySlides2 div div {
    padding: 1em;
    height: 70%;
    display: flex;
    flex-direction: row;
    gap: 1em;
    align-items: center;
  }
  .mySlides2 div div img{
    height: 90%;
    width: auto;
  }

  .mySlides2 span {
    padding: 1.4em .5em;
    display: flex;
    flex-direction: column;

  }
  .mySlides2 span h5{
    height: 80%;
    display: flex;
    flex-direction: column;
  }

  .mySlides2 div a {
    display: flex;
    padding: .2em;
    align-items: center;
    flex-direction: row;
    background-color: #ffffff;
    border: 2px solid #d7536c;
}
  .mySlides2 div a img {
    width: 25%;
    height: auto;
}
.mySlides2 div a p {
    color: #d7536c;
    padding: 0em 0em 0em 1em;
}

.portadas img {
    padding: .5em;
    width: 50%;
    height: 100%;
}

.libro{
    width: 70%;

}
em #autor{
    color: #da2a4a;
    Font-style: italic;
    font-size:.8em;
}

.libros {
    display: flex;
    gap: 2em;
    flex-direction: column;
}
.libros li{
    background-color: #8cc0842f;
    padding: .7em;
    border-radius: 5%;
}

.portadas2{
    display: flex;
    flex-direction:row;
    justify-content: center;
    gap: 2em;

}

.portadas2 img {
    background-color: #ffffff;
    width: 30%;
    height: 100%;
}

.portadas2 div{
    display: flex;
    flex-direction: column;
    gap: 1em;
}

a.botonpdf4 {
    display: flex;
    align-items: center;
    gap: .5em;
    justify-content: center;
}

a.botonpdf4 img {
    width: 10%;
    height: auto;
}

.botonpdf4{
    text-align: center;
    border: 2px solid #8cc084;
  background-color: white;
  color: #8cc084;
  padding: .5em;
  border-radius: .8em;
  margin-top: 1.2em;

}


/*HTML MADRES*/
#fotomain8 {
    background: #ffffff url("madres.jpg") no-repeat center center; 
    background-size: cover;
    width: auto;
    height: 15em;
    justify-content: center;

    -webkit-filter: blur(2px);
}

.hicieron {
    position: relative;
  }

  .hicieronfoto {
    height: 100%;
  }
  
  .mySlides {
    display: none;
    height: 15em;
    width: auto;
  }
  
  .cursor {
    cursor: pointer;
  }
  
  .prev,
  .next {
    cursor: pointer;
    position: absolute;
    top: 40%;
    width: auto;
    padding: 16px;
    margin-top: -50px;
    color: white;
    font-weight: bold;
    font-size: 20px;
    border-radius: 0 3px 3px 0;
    user-select: none;
    -webkit-user-select: none;
  }
  
  .next {
    right: 0;
    border-radius: 3px 0 0 3px;
  }
  
  
  .prev:hover,
  .next:hover {
    background-color: rgba(0, 0, 0, 0.8);
  }
  

  .numbertext {
    color: #f2f2f2;
    font-size: 12px;
    padding: 8px 12px;
    position: absolute;
    top: 0;
  }
  
  
  .caption-container {
    text-align: center;
    background-color: #8cc084;
    padding: 2px 16px;
    color: white;
  }
  
  .row:after {
    content: "";
    display: table;
    clear: both;
  }
  
  .column {
    float: left;
    width: 16.66%;
  }
  
  
  .demo {
    opacity: 0.6;
    height: 100%;
  }
  
  .active,
  .demo:hover {
    opacity: 1;
  }

  /*HTML CAPACITACION*/
  #fotomain9 {
    background: #ffffff url("iunma.jpg") no-repeat center center; 
    background-size: cover;
    width: auto;
    height: 15em;
    justify-content: center;

    -webkit-filter: blur(2px);
}


.capacitacion{
    display: flex;
}
.tab {
    float: left;
    border: 1px solid #8cc084;
    background-color: #afd4aa;
    width: 30%;
    height: 300px;
  }
  
  .tab button {
    display: block;
    background-color: inherit;
    color: black;
    padding: 22px 16px;
    width: 100%;
    border: none;
    outline: none;
    text-align: left;
    cursor: pointer;
    transition: 0.3s;
  }
  
 
  .tab button:hover {
    background-color: #8cc084;
  }
  
  
  .tab button.active {
    background-color: #8cc084;
  }
  

  .tabcontent {
    float: left;
    padding: 0px 12px;
    border: 1px solid #ccc;
    width: 70%;
    border-left: none;
    height: 300px;
    display: none;
  }






footer{
    margin-top: 2em;
    padding: 2em;  
    background-color: #e67489;
    color: #000000;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 2em;
    
    align-items: center;
}
footer div{
    display: flex;
    flex-wrap: wrap;
    gap: 2em;
    justify-content: center;
}

footer section nav{
    
    display: grid;
    gap: 1em;
    grid-template-columns: 3fr 3fr 3fr;
    justify-content: center;

}


/*pantalla tablet*/
@media  (max-width:400px){
    #fotomain2,#fotomain3,#fotomain4,#fotomain5,#fotomain6,#fotomain7,#fotomain9,#fotomain10,#fotomain11,#fotomain12{
      
    height: 12em;  
    }

}


@media  (min-width:700px){

    .abrirmenu, #cerrar{
        display: none;
    }
    header{
        display: grid;
        grid-template-columns: 1fr 2fr 3fr;
        gap: 2em;
    }
    .nav{
        visibility: visible;
        opacity: 1;
        background-color: #ffffff00;
        padding: 0 ;

    }
    .nav-list{
        display: flex;
        gap: 2rem;
        flex-direction: row;
        padding-top:0 ;
    }
    .nav-list li a {
        color: #fff;
        font-size: 1rem;
        text-align: center;
    }
    .nover{
        display: none;
    }


    
    
    main{
        padding-inline: 4em;
    }

    .secciones{
        grid-template-columns: 1fr 1fr;
        gap: 2rem; 
    }
    .titulogeneral{
        margin-top: 2em;
        margin-bottom: 1.3em;
    }
    

    #cronologia{
        display: grid;
        gap: 2em;
        list-style: none;
        grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
    }
    .añoaño {
        display: flex;
        gap: 1em;
        flex-wrap: wrap;
        justify-content: center;
    }
    .año1 {
        
        background-color: #ffcab1;
        align-content: center;
        text-align: center;
        width: 70%;
        color: #000000;
        border-radius: 10%;
        font-weight: 700;
        aspect-ratio: 1;
    }
    
    .año2 {
        align-content: center;
        text-align: center;
        width: 70%;
        color: #000000;
        background-color: #c1d7ae;
        border-radius: 10%;
        font-weight: 700;
        aspect-ratio: 1;
    }
    .añoaño h5{
        width: auto;
        text-transform: uppercase;
        font-size: 1em;
        text-align: center;
    }


    .flecha {
        display: none;
    }

    .año1:hover{
        background-color:#e67489 ;
        color: #ffffff;
        align-content: center;
        text-align: center;
        width: 70%;
        border-radius: 10%;
        font-weight: 700;
        aspect-ratio: 1;
        cursor: pointer;
    }
    .año2:hover{
        background-color:#8cc084 ;
        color: #ffffff;
        align-content: center;
        text-align: center;
        width: 70%;
        border-radius: 10%;
        font-weight: 700;
        aspect-ratio: 1;
        cursor: pointer;
    
    }


    /*MADRS HTLM*/
    .mySlides {
        display: none;
        height: 25em;
        width: auto;
        
      } 
      .mySlides2 div {
        gap: 3em;
        display: flex;
        flex-direction: row;
        background-color: #0000001a;
        border-radius: 5%;
    } 
      .portadas{
        padding: 1.5em;
        height: 25em; 
        
    }
    .portadas img{
        width: 25%; 
        
    }
    .portadas span{
        width: 75%;
    }
    .portadas span a{
        height: 20%; 
        width: 100%;
    }
    .portadas span a img{
        height: 100%;
        width: auto;
    }
    .portadas span h5{
        font-size:1.2rem; 
    }

      .libros{
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 2em;
        
    
    }


    .articulosvideos{
        margin-top: 2rem;
        display: grid;
        gap: 2rem; 
    } 
    
    .conteducativo2 {
        display: flex; 
        background-color: #ffffff;
        padding-top: 1em;
        border: 2px solid #8cc084;
        margin-top: -0.9em;
        box-shadow: 0rem 0rem 5px 0px #5453532d;
        flex-direction: row-reverse;
        flex-wrap: nowrap;
    } 
    .conteducativo2 iframe{
        width: 30%;
    } 
    .conteducativo2 div{
        width: 70%;
    }
    .articulosvideos2{
        margin-top: 2rem;
        display: grid;
        gap: 2rem; 
    }

    .conteducativo3 {
        display: flex;
        flex-direction: row;
        gap: 1em;
        
      }
    .conteducativo3 div{
        width: 60%;
    }
    .conteducativo3 figure{
        width: 40%;
    }


}

/*Pantalla web */
@media  (min-width:1280px) {
    


    main{
        padding-inline: 10em;
    }

    #fotomain,#fotomain2,#fotomain3,#fotomain4,#fotomain5,#fotomain6,#fotomain7,#fotomain8,#fotomain9,#fotomain10,#fotomain11,#fotomain12{
      
        height: 20em; 
    }

    
    .portadas span h5{
        font-size:1.5rem; 
    }

    .libros{
        display: grid;
        grid-template-columns: 1fr 1fr 1fr;
        gap: 2em;
        
    
    }
    .secciones{
        grid-template-columns: 1fr 1fr 1fr;
        gap: 2rem; 
    }

    .articulosvideos{
        margin-top: 2rem;
        display: grid;
        gap: 2rem; 
        grid-template-columns: 1fr 1fr;
    }
    .conteducativo2 {
        display: flex; 
        background-color: #ffffff;
        padding-top: 1em;
        border: 2px solid #8cc084;
        margin-top: -0.9em;
        box-shadow: 0rem 0rem 5px 0px #5453532d;
        flex-direction: column;
    } 
    .conteducativo2 iframe{
        width: 100%;
    } 
    .conteducativo2 div{
        width: 100%;
    }
    .articulosvideos2{
        margin-top: 2rem;
        display: grid;
        gap: 2rem; 
        grid-template-columns: 1fr 1fr 1fr;
    }
    .conteducativo3 {
        display: flex;
        flex-direction: column;
        gap: 1em;
        
      }
    .conteducativo3 div{
        width: 100%;
    }
    .conteducativo3 figure{
        width: 100%;
    }
    #linea144{
        display: none;
    }

}